package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.OrderRefund;
import com.yami.shop.dao.OrderRefundMapper;
import com.yami.shop.service.OrderRefundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderRefundServiceImpl extends ServiceImpl<OrderRefundMapper, OrderRefund> implements OrderRefundService {
    @Autowired
    private OrderRefundMapper orderRefundMapper;

    public OrderRefund selectByOrderNumber(String orderNumber){
        return orderRefundMapper.selectByOrderNumber(orderNumber);
    }
}
